Skip to content

fix: guard route boundaries after lossless Git discovery (DEV-158) - #24

Merged
developjik merged 20 commits into
mainfrom
fix/dev158-nul-git-paths
Nov 24, 2026
Merged

developjik merged 20 commits into
mainfrom
fix/dev158-nul-git-paths

Conversation

@developjik

@developjik developjik commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

Follow-up to #23

PR #23 was merged through another path while review fixes were being prepared. This PR carries the remaining reviewed fixes, not a claim that #23 already included them.

  • Preserve Unicode component keys, reject empty component matches, and keep Git literal backslashes from inventing directories while preserving Windows-style public inference inputs.
  • Encode filename-derived static HTML path segments before browser navigation.
  • Escape C0/C1 terminal controls in human-readable route-table fields. JSON output preserves original filenames.
  • Restrict POSIX-only filename fixtures appropriately on Windows; document valid-UTF-8 filename scope.

Validation

105 tests passed across 14 files; typecheck/build pass. Ten real-Git regressions include Korean route isolation, direct fallback, filename boundaries, Windows-style API input, terminal/JSON output, and an actual browser capture of a tab-named static HTML page through Git-based inference. Seven published files match the local validated copies.

No production release or repository setting change. Refs DEV-158.


Devin Review

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-24T21:26:19.034447Z
We couldn’t complete this review. Comment @codex review to try again.
6cf0651 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

@developjik
developjik merged commit 31d2ea8 into main Nov 24, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant